3.829 \(\int \frac{x^2 (a+b x)^2}{\sqrt{c x^2}} \, dx\)

Optimal. Leaf size=57 \[ \frac{a^2 x^3}{2 \sqrt{c x^2}}+\frac{2 a b x^4}{3 \sqrt{c x^2}}+\frac{b^2 x^5}{4 \sqrt{c x^2}} \]

[Out]

(a^2*x^3)/(2*Sqrt[c*x^2]) + (2*a*b*x^4)/(3*Sqrt[c*x^2]) + (b^2*x^5)/(4*Sqrt[c*x^
2])

_______________________________________________________________________________________

Rubi [A]  time = 0.0331154, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ \frac{a^2 x^3}{2 \sqrt{c x^2}}+\frac{2 a b x^4}{3 \sqrt{c x^2}}+\frac{b^2 x^5}{4 \sqrt{c x^2}} \]

Antiderivative was successfully verified.

[In]  Int[(x^2*(a + b*x)^2)/Sqrt[c*x^2],x]

[Out]

(a^2*x^3)/(2*Sqrt[c*x^2]) + (2*a*b*x^4)/(3*Sqrt[c*x^2]) + (b^2*x^5)/(4*Sqrt[c*x^
2])

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{a^{2} \sqrt{c x^{2}} \int x\, dx}{c x} + \frac{2 a b x^{2} \sqrt{c x^{2}}}{3 c} + \frac{b^{2} x^{3} \sqrt{c x^{2}}}{4 c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2*(b*x+a)**2/(c*x**2)**(1/2),x)

[Out]

a**2*sqrt(c*x**2)*Integral(x, x)/(c*x) + 2*a*b*x**2*sqrt(c*x**2)/(3*c) + b**2*x*
*3*sqrt(c*x**2)/(4*c)

_______________________________________________________________________________________

Mathematica [A]  time = 0.00849363, size = 35, normalized size = 0.61 \[ \frac{x^3 \left (6 a^2+8 a b x+3 b^2 x^2\right )}{12 \sqrt{c x^2}} \]

Antiderivative was successfully verified.

[In]  Integrate[(x^2*(a + b*x)^2)/Sqrt[c*x^2],x]

[Out]

(x^3*(6*a^2 + 8*a*b*x + 3*b^2*x^2))/(12*Sqrt[c*x^2])

_______________________________________________________________________________________

Maple [A]  time = 0.005, size = 32, normalized size = 0.6 \[{\frac{{x}^{3} \left ( 3\,{b}^{2}{x}^{2}+8\,abx+6\,{a}^{2} \right ) }{12}{\frac{1}{\sqrt{c{x}^{2}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2*(b*x+a)^2/(c*x^2)^(1/2),x)

[Out]

1/12*x^3*(3*b^2*x^2+8*a*b*x+6*a^2)/(c*x^2)^(1/2)

_______________________________________________________________________________________

Maxima [A]  time = 1.35781, size = 63, normalized size = 1.11 \[ \frac{\sqrt{c x^{2}} b^{2} x^{3}}{4 \, c} + \frac{2 \, \sqrt{c x^{2}} a b x^{2}}{3 \, c} + \frac{a^{2} x^{2}}{2 \, \sqrt{c}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^2*x^2/sqrt(c*x^2),x, algorithm="maxima")

[Out]

1/4*sqrt(c*x^2)*b^2*x^3/c + 2/3*sqrt(c*x^2)*a*b*x^2/c + 1/2*a^2*x^2/sqrt(c)

_______________________________________________________________________________________

Fricas [A]  time = 0.206531, size = 46, normalized size = 0.81 \[ \frac{{\left (3 \, b^{2} x^{3} + 8 \, a b x^{2} + 6 \, a^{2} x\right )} \sqrt{c x^{2}}}{12 \, c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^2*x^2/sqrt(c*x^2),x, algorithm="fricas")

[Out]

1/12*(3*b^2*x^3 + 8*a*b*x^2 + 6*a^2*x)*sqrt(c*x^2)/c

_______________________________________________________________________________________

Sympy [A]  time = 2.34863, size = 61, normalized size = 1.07 \[ \frac{a^{2} x^{3}}{2 \sqrt{c} \sqrt{x^{2}}} + \frac{2 a b x^{4}}{3 \sqrt{c} \sqrt{x^{2}}} + \frac{b^{2} x^{5}}{4 \sqrt{c} \sqrt{x^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2*(b*x+a)**2/(c*x**2)**(1/2),x)

[Out]

a**2*x**3/(2*sqrt(c)*sqrt(x**2)) + 2*a*b*x**4/(3*sqrt(c)*sqrt(x**2)) + b**2*x**5
/(4*sqrt(c)*sqrt(x**2))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.213252, size = 51, normalized size = 0.89 \[ \frac{1}{12} \, \sqrt{c x^{2}}{\left ({\left (\frac{3 \, b^{2} x}{c} + \frac{8 \, a b}{c}\right )} x + \frac{6 \, a^{2}}{c}\right )} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^2*x^2/sqrt(c*x^2),x, algorithm="giac")

[Out]

1/12*sqrt(c*x^2)*((3*b^2*x/c + 8*a*b/c)*x + 6*a^2/c)*x